
package com.innovamed.websocket.constants;

/**
 * Copyright: Copyright (c) Jun_Zhou @PackageName:com.innovamed.websocket.constants @Description:
 * RabbitMQ相关的消息常量的集合;
 *
 * @version: v1.0.0
 * @author: JunZhou @Email: 1769676159@qq.com @Site: CERNO
 * @date: 2019/8/24 15:24
 */
public class RabbitMqConstants
{
	
	/** 消息服务实例所在主机的IP; */
	public static String		RABBITMQ_HOST					= "127.0.0.1";
	/** RabbitMQ的主机端口; */
	public static Integer		RABBITMQ_PORT					= 5672;
	/** 默认的虚拟主机; */
	public static final String	RABBITMQ_DEFAULT_VIRTUAL_HOST	= "/";
	
	/** 默认的队列信息; */
	public static String		DEFAULT_ROUTING_KEY				= "{SERVERNAME}_{IP}_{PORT}";
	public static String		DEFAULT_QUEUE_NAME				= "WS_CLUSTER_QUEUE";
	public static String		DEFAULT_EXCHANGE_NAME			= "WS_DIRECT_EXCHANGE";
	public static final String	DEFAULT_EXCHANGE_TYPE			= "direct";
	
}
